﻿@{
    ViewBag.Title = "Level3";
}
@using PortalLogReport.Models
@section style
{
    <link href="/Content/bootstrap/css/bootstrap.css" rel="stylesheet">
}

<ol class="breadcrumb">
    <li><a href="/home">Home</a></li>
    <li><a href="/settings/dimension">Setting</a></li>
    <li><a href="/settings/Level2">Level-2</a></li>
    <li class="active">Level-3</li>
</ol>

<h3>Level-3</h3>
<a class="btn btn-success btn-sm" href="\Settings\Level3Edit\0">New</a>

<table class="table table-striped">
    <thead>
        <tr>
            <th class="col-xs-1">#</th>
            <th class="col-xs-3">Regex Name</th>
            <th class="col-xs-5">Regex Format</th>
            <th class="col-xs-2"></th>
        </tr>
    </thead>
    <tbody>
        @foreach (Level3Model lm in ViewBag.Level3Models)
        {
            <tr>
                <td>@lm.Id</td>
                <td>@lm.Regex_NM</td>
                <td>@lm.Regex_Format</td>
                <td><a class="btn btn-link" href="\Settings\Level3Edit\@lm.Id">Edit</a><a class="btn btn-link" href="\Settings\Level3Delete\@lm.Id">Del</a></td>
            </tr>
        }
    </tbody>
</table>

@section scripts{
    <script src="/Content/bootstrap/js/bootstrap.js"></script>
}
